<div class="lof-item-row {if $shadowbox == 1}lof-item-row-shadow-box-{$moduleId}{/if}" style="height:{$moduleHeight}px;">
	<div class="lof-item-main" style="{if $shadowbox == 0}background:#FFFFFF;{/if}">
        {if $showImage}
        <div class="lof-image">
            {if $showIconItem}
                {if $row.lof_online_only_icon != '' AND $onlineIcon == 1}
                <div class="{$row.lof_online_only_icon}">&nbsp;</div>
                {/if}
                {if $row.lof_sale_icon != '' AND $saleIcon == 1}
                <div class="{$row.lof_sale_icon}">&nbsp;</div>
                {/if}
                {if $row.lof_new_icon != '' AND $newIcon == 1}
                <div class="{$row.lof_new_icon}">&nbsp;</div>
                {/if}
                {if $row.lof_features != '' AND $featureIcon == 1}
                <div class="{$row.lof_features}">&nbsp;</div>
                {/if}
            {/if}
            {if $linkImage}<a target="{$targetlink}" href="{$row.link}" class="product_img_link product_image">{/if}<img  src="{$row.mainImge}" title="{$row.name}" alt=""/>{if $linkImage}</a>{/if}
        </div>
        {/if}
        {if $showSubTitle}
         <h3>
             {if $linkSubtitle}<a target="{$targetlink}" class="lof-title" title="{$row.name}" href="{$row.link}">{/if}
                {$row.subtitle}
             {if $linkSubtitle}</a>{/if}
         </h3>
         {/if}
        <div class="lof-tools-opacity" style="width:100%;">
            <span class="lof-price-contain">
                <span class="lof-price"><b>{if $source=="product"}{$row.price}{else}{displayWtPrice p=$row.price}{/if}</b></span>
                {if (($row.price_lof_reduction) != ($row.price)) AND ($row.price_lof_reduction != "") AND ($priceReduction == 1)}&nbsp;&nbsp;<span class="lof-price-discount">{displayWtPrice p=$row.price_without_reduction}</span>{/if}
            </span>
        </div>
         {if $showSubDesc}
        <h4><span class="lof-quote">&ldquo;</span><span>{$row.subdescription}</span></h4>
        {/if}
        {if $source == "product" AND $showAddCart == 1}
            {if (($row.quantity > 0 OR $row.allow_oosp))}
            <a class="lof-add-cart ajax_add_to_cart_button" rel="ajax_id_product_{$row.id_product}" href="{$site_url}cart.php?add&amp;id_product={$row.id_product}&amp;token={$token}"><span>{l s='Add to cart' mod='lofcarousel'}</span></a>
            {else}
                <span class="lof-add-cart lof-add-cart-none">{l s='Add to cart' mod='lofcarousel'}</span>
            {/if}
        {/if}
        <a href="#" class="lof-more" title="{$row.name}">{l s='more...' mod='lofcarousel'}</a>
	</div>
	<div class="lof-content-wrapper lof-content-wrapper-{$moduleId}" style="height:{$moduleHeight+77}px">
		<div class="lof-content" style="width:100%;">
			{if $showMainTitle}
            <h6><a target="{$targetlink}" class="lof-title" title="{$row.name}" href="{$row.link}">{$row.name}</a></h6>
            {/if}
			<a href="#" class="lof-close">{l s='Close' mod='lofcarousel'}</a>
			<div class="lof-content-text"><p>{$row.description}</p></div>
			<ul>
                {if $showReadmore}<li><a target="{$targetlink}" href="{$row.link}" title="{$row.name}" >{l s='Read more' mod='lofcarousel'}</a></li>{/if}
				{if $itemDateCreated AND $source == "product"}<li><a href="#" title="{$row.name}" class="lof-date-carousel">{l s='Date' mod='lofcarousel'}:<span>{$row.date_add|date_format:"%Y-%m-%d"}</span></a></li>{/if}
			</ul>
		</div>
	</div>
</div>